package com.example.goodsass.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.goodsass.domain.Tag;
import com.example.goodsass.domain.TagArticle;
import com.example.goodsass.service.TagArticleService;
import com.example.goodsass.mapper.TagArticleMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
* @author 31673
* @description 针对表【tag_article】的数据库操作Service实现
* @createDate 2025-04-08 22:45:31
*/

@Service
public class TagArticleServiceImpl extends ServiceImpl<TagArticleMapper, TagArticle>
    implements TagArticleService{
    @Resource TagArticleMapper tagArticleMapper;

    @Override
    public Tag getTagByName(String tagName) {
        return tagArticleMapper.getTagByName(tagName);
    }
}




